package com.zzh.arithmetic.model;

/**
 * @author zihong.zheng
 * @version 1.0
 * @date 2021/4/17
 * @time 19:09
 * @description
 */
public class ListNode {

    private int val;

    private ListNode next;

    public ListNode(int val) {
        this.val = val;
    }


    public ListNode getNext() {
        return next;
    }

    public void setNext(ListNode next) {
        this.next = next;
    }

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }
}
